import request from '@/utils/request'

// 查询学期课报名列表
export function listStudent_sign(query) {
  return request({
    url: '/auto/student_sign/list',
    method: 'get',
    params: query
  })
}

// 查询学期课报名详细
export function getStudent_sign(id) {
  return request({
    url: '/auto/student_sign/' + id,
    method: 'get'
  })
}

// 新增学期课报名
export function addStudent_sign(data) {
  return request({
    url: '/auto/student_sign',
    method: 'post',
    data: data
  })
}

// 修改学期课报名
export function updateStudent_sign(data) {
  return request({
    url: '/auto/student_sign',
    method: 'put',
    data: data
  })
}

// 删除学期课报名
export function delStudent_sign(id) {
  return request({
    url: '/auto/student_sign/' + id,
    method: 'delete'
  })
}

// 导出学期课报名
export function exportStudent_sign(query) {
  return request({
    url: '/auto/student_sign/export',
    method: 'get',
    params: query
  })
}